#include <stdio.h>
int main()
{	 	 		   	
    int a[20], i, sum = 0;             //1
    printf("input 20 numbers:");
    for (i = 0; i < 20; i++)           //1
        scanf("%d", &a[i]);            //1
    for (i = 0; i < 20; i++)           //1
        if (a[i] > 0)                  //1
            sum = sum + a[i];          //1
    printf("sum=%d\n", sum);           //1
    return 0;
}